<?php
/**
 * Created by PhpStorm.
 * User: user
 * Date: 17/8/13
 * Time: 上午1:06
 */

namespace App\Http\Controllers;


use App\Http\Controllers\Backend\LoginController;

class BaseBackendController extends Controller
{
    public $title = 'LightShop管理后台';

    function __construct()
    {
    }

    protected function cookieData($type, $key, $value, $minutes = 0)
    {
        $data = [];
        switch ($type) {
            case 'login':
                $data['key'] = $key;
                $data['value'] = $value;
                $data['minutes'] = $minutes;
                break;
        }
        return $data;
    }
}